projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8c4f80
)
* lisp/net/ange-ftp.el (ange-ftp-ls): Handle several "--dired" switches.
author
Michael Albinus
<michael.albinus@gmx.de>
Thu, 28 Jan 2021 14:09:29 +0000
(15:09 +0100)
committer
Michael Albinus
<michael.albinus@gmx.de>
Thu, 28 Jan 2021 14:09:29 +0000
(15:09 +0100)
lisp/net/ange-ftp.el
patch
|
blob
|
history
diff --git
a/lisp/net/ange-ftp.el
b/lisp/net/ange-ftp.el
index 9559b1251350a22ef00e617627d96a337f8d6b38..fa13dd57d1d479da3a553899f614d9259b8f55f1 100644
(file)
--- a/
lisp/net/ange-ftp.el
+++ b/
lisp/net/ange-ftp.el
@@
-2547,7
+2547,7
@@
can parse the output from a DIR listing for a host of type TYPE.")
FILE is the full name of the remote file, LSARGS is any args to pass to the
`ls' command, and PARSE specifies that the output should be parsed and stored
away in the internal cache."
- (wh
en
(string-match "^--dired\\s-+" lsargs)
+ (wh
ile
(string-match "^--dired\\s-+" lsargs)
(setq lsargs (replace-match "" nil t lsargs)))
;; If parse is t, we assume that file is a directory. i.e. we only parse
;; full directory listings.